package com.ehotting.mqbd.zw.client.mqAction;

import com.alibaba.fastjson.JSON;
import com.ehotting.eaf.netty.action.Action;
import com.ehotting.eaf.netty.domain.DataAble;
import com.ehotting.mqbd.zw.api.constants.ActionConstants;
import com.ehotting.mqbd.zw.api.domain.netty.task.TaskAbortAckReq;
import com.ehotting.mqbd.zw.client.mq.ZwMqActionAble;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@Action(ActionConstants.Cmd_TaskAbortAckStr)
public class ZwMqTaskAbortAckAction implements ZwMqActionAble<TaskAbortAckReq> {
    @Override
    public DataAble invoke( TaskAbortAckReq request) {
        log.info("receive TaskAbortAckReq:{}", JSON.toJSONString(request));
        //request.convertToProp();
        return null;
    }

    @Override
    public Class<?> getRequestClass() {
        return TaskAbortAckReq.class;
    }
}
